home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 131
/
XENIATGM131.iso
/
Shareware
/
openOffice.org 641
/
Windows
/
f_0047
/
sbasic.jar
/
text
/
sbasic
/
common
/
03101400.xml
< prev
next >
Wrap
Extensible Markup Language
|
2001-09-07
|
2KB
|
36 lines
<?xml version="1.0" encoding="utf-8"?>
<html><head><title>DefDbl Statement [Runtime]</title><meta name="filename" content="text/sbasic/common/03101400"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
p.P1{
}
span.T1{
font-weight:bold;}
</style></head><body>
<help:to-be-embedded Eid="defdbl" xmlns:help="http://openoffice.org/2000/help">
<p class="Head1"><help:link Id="66422">DefDbl Statement [Runtime]</help:link></p>
<p class="Paragraph">Sets the default variable type, according to a letter range, if no type-declaration character or keyword was specified.</p>
</help:to-be-embedded>
<p class="Paragraph"><span class="T1">Syntax</span>:</p>
<p class="Paragraph">Defxxx Characterrange1[, Characterrange2[,...]] <help:key-word value="DefDbl" tag="kw66422_1" xmlns:help="http://openoffice.org/2000/help"/></p>
<p class="Paragraph"><span class="T1">Parameter</span>:</p>
<p class="Paragraph">Characterrange : Letters specifying the range of variables for which to set a default data type.</p>
<p class="Paragraph">xxx : Keyword defining the default variable type:</p>
<p class="Paragraph"><span class="T1">Keyword : Default variable type</span></p>
<p class="Paragraph">DefDbl : Double</p>
<p class="Paragraph"><span class="T1">Example:</span></p>
<p class="PropText"/>
<p class="PropText">REM Prefix definitions for variable types:</p>
<p class="PropText">DefBool b</p>
<p class="PropText">DefDate t</p>
<p class="PropText">DefDbL d</p>
<p class="PropText">DefInt i</p>
<p class="PropText">DefLng l</p>
<p class="PropText">DefObj o</p>
<p class="PropText">DefVar v</p>
<p class="PropText"/>
<p class="PropText">Sub ExampleDefDBL</p>
<p class="PropText">dValue=1.23e43 REM dValue is an implicit Double variable type</p>
<p class="PropText">end sub</p>
</body></html>